<div class="bpm-work">
  <div class="bpm-work-ex">
    <div class="bpm-work-ex-content">
      <div class="bpm-tabs">
        <h2 class="bpm-tabs-title">
          临时工作
        </h2>

        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">基本信息</div>
        </div>
        <table>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">所属机场
              </nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control>
                <nz-select class="form-control" [(ngModel)]="airport" (ngModelChange)="editAirport($event)"
                           name="airport" required
                           (nzOpenChange)="airportDic.load('0')" [nzPlaceHolder]="'请选择'">
                  <nz-option *ngFor="let option of airportDic.datas" [nzLabel]="option.display" [nzValue]="option.id">
                  </nz-option>
                  <nz-option *ngIf="airportDic.isLoading" nzDisabled nzCustomContent>
                    <i nz-icon type="loading" class="loading-icon"></i>加载中...
                  </nz-option>
                  <span *ngIf="!airportDic.isLoaded">
                    <nz-option [nzValue]="airport">
                    </nz-option>
                  </span>
                </nz-select>
              </nz-form-control>
            </td>

            <td class="form-text">
              <nz-form-label nzRequired class="form-label">记录日期</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control>
                <nz-date-picker (ngModelChange)="editDate($event)"
                  [(ngModel)]="selectDate"
                  name="selectDate"></nz-date-picker>
              </nz-form-control>
            </td>
          </tr>
        </table>

        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">行政监管</div>
        </div>
        <table>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">民航行政安全检查</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ds.er.administrationcheck" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">发现安全隐患</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ds.er.hidedanger" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">下发整改通知书</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ds.er.handnoticebook" name="handnoticebook" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>

        </table>

        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">地面安保</div>
        </div>
        <table>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">保障进港航班</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.incomeflight" name="incomeflight" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">保障出港航班</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.outcomeflight" name="outcomeflight" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">保障进港旅客</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.incomepassenger" name="incomepassenger" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">保障出港旅客</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.outcomepassenger" name="outcomepassenger" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">出动安检人员</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.sendsecurityperson" name="sendsecurityperson"
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">检查旅客</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.checkpassenger" name="checkpassenger" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">检查行李</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.checkbag" name="checkbag" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">检查货物</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.checkgoods" name="checkgoods" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查货易燃易爆品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.dangergoods" name="dangergoods" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查货仿真、自制枪支</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.guns" name="guns" required [disabled]="true"
                                 [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查货管制器具</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="fs.er.controlequipment" name="controlequipment" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
        </table>

        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">公安工作</div>
        </div>
        <table>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">出动公安警力</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.sendpolice" name="sendpolice" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">巡逻盘查人员</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.patrolperson" name="patrolperson" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">检查车辆</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.checkcar" name="checkcar" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查获违禁物品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.bangoods" name="bangoods" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查获各类治安案件</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.securitycase" name="securitycase" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查获各类刑事案件</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.criminalcase" name="criminalcase" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">抓获违法犯罪人员</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.criminalperson" name="criminalperson" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查获涉恐人员</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.terroristperson" name="terroristperson" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr> <tr>
          <td class="form-text">
            <nz-form-label nzRequired class="form-label">查获涉XX上访人员</nz-form-label>
          </td>
          <td class="form-input">
            <nz-form-control class="form-control">
              <nz-input-number [(ngModel)]="ps.er.upperson" name="upperson" required
                               [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
              </nz-input-number>
            </nz-form-control>
          </td>
          <td class="form-text">
            <nz-form-label nzRequired class="form-label">查获网上在逃人员</nz-form-label>
          </td>
          <td class="form-input">
            <nz-form-control class="form-control">
              <nz-input-number [(ngModel)]="ps.er.escapeperson" name="escapeperson" required
                               [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
              </nz-input-number>
            </nz-form-control>
          </td>
        </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">查获邪教人员</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.cultperson" name="cultperson" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">检查各类安全隐患</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="ps.er.hidedanger" name="hidedanger" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>

        </table>

        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">空中数据</div>
        </div>
        <table>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">派遣空警</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="is.er.sendpolice" name="sendpolice" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">派遣安全员</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="is.er.sendsecurityperson" name="sendsecurityperson"
                                 required [disabled]="true" [nzMin]="0"  [nzStep]="1"
                                 class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">飞行中非法干扰事件</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="is.er.illegalevent" name="illegalevent" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">飞行中扰乱事件</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control">
                <nz-input-number [(ngModel)]="is.er.disturbevent" name="disturbevent" required
                                 [disabled]="true" [nzMin]="0"  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
        </table>
    </div>
  </div>
  <div class="content-loading" *ngIf="is.isLoading || is.isSaveing || fs.isLoading || fs.isSaveing || ps.isLoading || ps.isSaveing || ds.isLoading || ds.isSaveing">
    <nz-spin [nzSize]="'large'"></nz-spin>
  </div>
</div>
<div class="bpm-foot">
  <div class="tools">
    <div class="item" (click)="close()">
      <i nz-icon type="logout" class="icon"></i>
      <span class="text">关闭</span>
    </div>
  </div>
</div>
</div>
